#ifndef GOODS_H
#define GOODS_H

#include <QMainWindow>
#include <QSqlTableModel>
namespace Ui {
class goods;
}

class goods : public QMainWindow
{
    Q_OBJECT

public:
    explicit goods(QWidget *parent = nullptr);
    ~goods();

private slots:
    void on_ok_clicked();

    void on_SearchAll_clicked();

    void on_add_clicked();

    void on_delete_2_clicked();

    void on_search_clicked();

private:
    Ui::goods *ui;
    QSqlTableModel *model1;
};

#endif // GOODS_H
